export default [
    {
        path: 'index',
        name: 'BusinessIndex',
        component: () => import('@/components/business/index.vue'),
        meta:{
            auth: true, // 校验用户是否登陆
        }
    },
    {
        path: 'login',
        name: 'Login',
        component: () => import('@/components/business/login.vue'),
        
    },
    {
        path: 'profile',
        name: 'Profile',
        component: () => import('@/components/business/profile.vue'),
        meta:{
            auth: true,
        }
    },
    {
        path: 'email',
        name: 'Email',
        component: () => import('@/components/business/email.vue'),
        meta:{
            auth: true,
        }
    },
    {
        path: 'coupon',
        name: 'Coupon',
        component: () => import('@/components/business/coupon.vue'),
        meta:{
            auth: true,
        }
    },
    {
        path: 'poster',
        name: 'Poster',
        component: () => import('@/components/business/poster.vue'),
        meta:{
            auth: true,
        }
    },
    {
        path: 'record',
        name: 'Record',
        component: () => import('@/components/business/record.vue'),
        meta:{
            auth: true,
        }
    },
    {
        path: 'kickback',
        name: 'Kickback',
        component: () => import('@/components/business/kickback.vue'),
        meta:{
            auth: true,
        }
    },
    {
        path: 'retailmember',
        name: 'Retailmember',
        component: () => import('@/components/business/retailmember.vue'),
        meta:{
            auth: true,
        }
    }
];